package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间消费账单对象 consumption_bill
 * 
 * @author txy
 * @date 2022-02-11
 */
public class ConsumptionBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消费账单 */
    private Long consumptionId;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String consumptionType;

    /** 消费金额 */
    @Excel(name = "消费金额")
    private BigDecimal consumptionPrice;

    /** 值班账单ID */
    @Excel(name = "值班账单ID")
    private String billId;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long consumptionNum;

    public void setConsumptionId(Long consumptionId) 
    {
        this.consumptionId = consumptionId;
    }

    public Long getConsumptionId() 
    {
        return consumptionId;
    }
    public void setConsumptionType(String consumptionType) 
    {
        this.consumptionType = consumptionType;
    }

    public String getConsumptionType() 
    {
        return consumptionType;
    }
    public void setConsumptionPrice(BigDecimal consumptionPrice) 
    {
        this.consumptionPrice = consumptionPrice;
    }

    public BigDecimal getConsumptionPrice() 
    {
        return consumptionPrice;
    }
    public void setBillId(String billId) 
    {
        this.billId = billId;
    }

    public String getBillId() 
    {
        return billId;
    }
    public void setConsumptionNum(Long consumptionNum) 
    {
        this.consumptionNum = consumptionNum;
    }

    public Long getConsumptionNum() 
    {
        return consumptionNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consumptionId", getConsumptionId())
            .append("consumptionType", getConsumptionType())
            .append("consumptionPrice", getConsumptionPrice())
            .append("billId", getBillId())
            .append("consumptionNum", getConsumptionNum())
            .toString();
    }
}
